Integrand size = 23, antiderivative size = 115 \[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=-\frac {2 b}{5 f (b \sec (e+f x))^{3/2} \sin ^{\frac {5}{2}}(e+f x)}-\frac {4 b}{5 f (b \sec (e+f x))^{3/2} \sqrt {\sin (e+f x)}}-\frac {4 E\left (\left .e-\frac {\pi }{4}+f x\right |2\right ) \sqrt {\sin (e+f x)}}{5 f \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {2664, 2665, 2652, 2719} \[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=-\frac {2 b}{5 f \sin ^{\frac {5}{2}}(e+f x) (b \sec (e+f x))^{3/2}}-\frac {4 b}{5 f \sqrt {\sin (e+f x)} (b \sec (e+f x))^{3/2}}-\frac {4 \sqrt {\sin (e+f x)} E\left (\left .e+f x-\frac {\pi }{4}\right |2\right )}{5 f \sqrt {\sin (2 e+2 f x)} \sqrt {b \sec (e+f x)}} \]
[In]
[Out]
Rule 2652
Rule 2664
Rule 2665
Rule 2719
Rubi steps \begin{align*} \text {integral}& = -\frac {2 b}{5 f (b \sec (e+f x))^{3/2} \sin ^{\frac {5}{2}}(e+f x)}+\frac {2}{5} \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {3}{2}}(e+f x)} \, dx \\ & = -\frac {2 b}{5 f (b \sec (e+f x))^{3/2} \sin ^{\frac {5}{2}}(e+f x)}-\frac {4 b}{5 f (b \sec (e+f x))^{3/2} \sqrt {\sin (e+f x)}}-\frac {4}{5} \int \frac {\sqrt {\sin (e+f x)}}{\sqrt {b \sec (e+f x)}} \, dx \\ & = -\frac {2 b}{5 f (b \sec (e+f x))^{3/2} \sin ^{\frac {5}{2}}(e+f x)}-\frac {4 b}{5 f (b \sec (e+f x))^{3/2} \sqrt {\sin (e+f x)}}-\frac {4 \int \sqrt {b \cos (e+f x)} \sqrt {\sin (e+f x)} \, dx}{5 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}} \\ & = -\frac {2 b}{5 f (b \sec (e+f x))^{3/2} \sin ^{\frac {5}{2}}(e+f x)}-\frac {4 b}{5 f (b \sec (e+f x))^{3/2} \sqrt {\sin (e+f x)}}-\frac {\left (4 \sqrt {\sin (e+f x)}\right ) \int \sqrt {\sin (2 e+2 f x)} \, dx}{5 \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}} \\ & = -\frac {2 b}{5 f (b \sec (e+f x))^{3/2} \sin ^{\frac {5}{2}}(e+f x)}-\frac {4 b}{5 f (b \sec (e+f x))^{3/2} \sqrt {\sin (e+f x)}}-\frac {4 E\left (\left .e-\frac {\pi }{4}+f x\right |2\right ) \sqrt {\sin (e+f x)}}{5 f \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 0.54 (sec) , antiderivative size = 82, normalized size of antiderivative = 0.71 \[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=\frac {2 b \left (-2+\cos (2 (e+f x))+2 \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},\frac {1}{4},\frac {1}{2},\sec ^2(e+f x)\right ) \sin ^2(e+f x) \sqrt [4]{-\tan ^2(e+f x)}\right )}{5 f (b \sec (e+f x))^{3/2} \sin ^{\frac {5}{2}}(e+f x)} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(440\) vs. \(2(120)=240\).
Time = 0.89 (sec) , antiderivative size = 441, normalized size of antiderivative = 3.83
method | result | size |
default | \(-\frac {\sqrt {2}\, \left (1-\cos \left (f x +e \right )\right ) \left (16 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {2+2 \cot \left (f x +e \right )-2 \csc \left (f x +e \right )}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, E\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right ) \left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )-8 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {2+2 \cot \left (f x +e \right )-2 \csc \left (f x +e \right )}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, F\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right ) \left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )-\left (1-\cos \left (f x +e \right )\right )^{6} \left (\csc ^{6}\left (f x +e \right )\right )+9 \left (1-\cos \left (f x +e \right )\right )^{4} \left (\csc ^{4}\left (f x +e \right )\right )-7 \left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )-1\right ) \csc \left (f x +e \right )}{20 f \left (\frac {-\cot \left (f x +e \right )+\csc \left (f x +e \right )}{\left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )+1}\right )^{\frac {7}{2}} \left (\left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )+1\right )^{3} \sqrt {-\frac {b \left (\left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )+1\right )}{\left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )-1}}\, \left (\left (1-\cos \left (f x +e \right )\right )^{2} \left (\csc ^{2}\left (f x +e \right )\right )-1\right )}\) | \(441\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.13 (sec) , antiderivative size = 239, normalized size of antiderivative = 2.08 \[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=-\frac {2 \, {\left ({\left (i \, \cos \left (f x + e\right )^{2} - i\right )} \sqrt {i \, b} E(\arcsin \left (\cos \left (f x + e\right ) + i \, \sin \left (f x + e\right )\right )\,|\,-1) \sin \left (f x + e\right ) + {\left (-i \, \cos \left (f x + e\right )^{2} + i\right )} \sqrt {-i \, b} E(\arcsin \left (\cos \left (f x + e\right ) - i \, \sin \left (f x + e\right )\right )\,|\,-1) \sin \left (f x + e\right ) + {\left (-i \, \cos \left (f x + e\right )^{2} + i\right )} \sqrt {i \, b} F(\arcsin \left (\cos \left (f x + e\right ) + i \, \sin \left (f x + e\right )\right )\,|\,-1) \sin \left (f x + e\right ) + {\left (i \, \cos \left (f x + e\right )^{2} - i\right )} \sqrt {-i \, b} F(\arcsin \left (\cos \left (f x + e\right ) - i \, \sin \left (f x + e\right )\right )\,|\,-1) \sin \left (f x + e\right ) + {\left (2 \, \cos \left (f x + e\right )^{4} - 3 \, \cos \left (f x + e\right )^{2}\right )} \sqrt {\frac {b}{\cos \left (f x + e\right )}} \sqrt {\sin \left (f x + e\right )}\right )}}{5 \, {\left (b f \cos \left (f x + e\right )^{2} - b f\right )} \sin \left (f x + e\right )} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=\int { \frac {1}{\sqrt {b \sec \left (f x + e\right )} \sin \left (f x + e\right )^{\frac {7}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {b \sec (e+f x)} \sin ^{\frac {7}{2}}(e+f x)} \, dx=\int \frac {1}{{\sin \left (e+f\,x\right )}^{7/2}\,\sqrt {\frac {b}{\cos \left (e+f\,x\right )}}} \,d x \]
[In]
[Out]